import request from '@/utils/myAioxs'

//开具发票
export function applyInvoice(data) {
  return request({
    url:'/invoice/v1/build-invoice',
    method: 'post',
    data
  })
}

//获取开票信息

export function getInvoiceInfo(data) {
  return request({
    url:'/invoice/v1/get-invoice-info',
    method: 'post',
    data
  })
}



export function updateInvoiceInfo(data) {
  return request({
    url:'/invoice/v1/update-invoice-info',
    method: 'post',
    data
  })
}

export function saveInvoiceInfo(data) {
  return request({
    url:'/invoice/v1/save-invoice-info',
    method: 'post',
    data
  })
}
